delete unused parts