fixing ortho jpegs