fix bug upload file