fix router issue