fix counter initalization when no server