fixed glitch with groups