fixed upload bug on camera