only include routeCode if code exists