routing bug fix