fixed bizarre routing bug