remove some useless commands