preparation next ajaxcall