Fix the loading bay error of ajax