make url scheme independent