removed extra instances of .pdf from the jpgs