fix bug of upload file