Fix for category display and 404 error