Small change to fragment to fix AJAX error.