delete unused frames