clean up router config