put the group related statement back in zonedb.cpp