fix upload file bug