fixed ajax file uploading