Remove useless commands