fixing broken group/attribute api implementation