Fixed issues with url building

Urls were failing for the executre anonymous but working for other
I've fixed it for all so correct urls are building everywhere