Fix error in dataModels reject AJAX.