updated error stringifying