removing not used images