fix era workaround on mono

fix workaround #426