add error callback of ajax of match