remove some commands and files