minor cleanup to cms_representation; still to fix get_one_row...