fix era workaround on mono
add current era and error check
Merge pull request #1 from enricosada/workaround_era_mono

fix era workaround on mono