Delete lastcommand