fixed bug where 'init_groups_data' would work only on the first call