fixed a bug related to Uri.IsWellformedUri