Try to fix JPEG upload problem