remove url path constructs