Syscounterror

fix #1934 
Seems ok for me.