introduce redo method in commands to fix redo command