fixed routing bug.