color related bug fixes