fixes when uploading from the camera