fix Mixing of GROUP columns error