reimplemented ColoredPrint
fixed ColoredPrint