delete unused codes