fix the ajax return