corrects the ajax deferment response