fixed: redo of deleted segment broken