[fix] check whether group was paired
[fix] broken url in add template group function