adding the ajax fix