remove the jpgs