fix instant picture uploading