fixed issued related to upload