bug in TERM_COLOR macro