fix error when dashboard_route is not configured in config.yml