fixed ajax file upload issue