minor fix

fixed the ajax calls