small fix regarding ajaxCall function