fixed grou pby / changed flag animation