Undo does not work

undo does not work as it says i need to paste a structure first even though i have

I'd like to add to this, that if you /undo before it's finished pasting, then the undo breaks and does nothing.