.jpg file extension properly added to the list, but still can't upload jpg files