fix to upload picture