replace a  with a rows_groups_types