Fixed a bug with free and taken coloring