fix a problem that cannot be colored only partially.