fixed the AJAX load issue