persistant undo fixed