Fixed undo issue (release snapshot)