fixed undo button