fixed undo buttons