fixed message printer formatting and CLI