deleting unncessary images