fix protocol of url