fixes color code issues