fix router param parsing.