fix router dependency