bug capability if undo