fix bug in group actions