avoid panic when no default router is set