fix invalid group