fix some color bugs