avoid exceptions on retrieving URL params