fix problem url so it works with http when set as the protocol