minor AJAX fix