Fixed AJAX fetch