Added errormator - fixed #242