Fix for urls with port