Corrected printed error mesaages