fix colored logging