add get url param function