try to fix jpeg upload