fixed redo compartment : if next redo is compartment then do redo