fix counter for the firsttime