delete unused options