fix uploading part