Fix scheme issue with url protocol