groupsData assigment bugfix