fix a routing bug