fixed some bugs, trying to add group colors