fixing an issue in group matrix