bendpoint undo redo bug fixing...