make error string more useful