fix ajaxStart hook