delete the useless image