correcting JPG to jpg