replace URL scheme