delete unused resource