add additional split to capture only the BID instead of entire URL and additional bugfixes