delete the unused images