Correcting the counter increment location