fixing problem where read group is not a string