fixed a minor routing bug