fix for get current url