polishing error messages