fix "Bug with mismatched group names #10"