fix read group processing