fix uploaded file