override function fix if no groups