fixed bug auth upload file