some bugfixes for colors