Fixed file upload error