Fixed JPG issue