fix for all urls and protocols