fixed bug where colors got mixed up