Fixed file upload issue