try to get undo work