fractionally better error formatting.  still in wrong place