add null rule for getURLParameter