apply some consistency on printing errors