g->flcount needs to init properly