router best-match fix