*core: fixed some group bugs -- maybe still not working right