fix counter process