tweaking error outputs