fixed message printer error