fixed default routing bug