deletes unneeded pix