format errors a bit