fixing group id