debug statement
fixed case of ANSI :reset and ensured that if no color then global default is used