fixed a regression issue with urlParams not being returned