bug in color def