fix group creating bug