fix #23 undo last point