Routing fix on mono
Avoid TargetInvocationException on mono