delete unused intent.