make page legends clearer
handle exceptions with csharp

For consistency, set href and protocol