rm unnecessary commands