fix router dependencies