fix location input for camera