correct the log/colourise logic