fix uploaded file bug