bugfixes for colors