fixed glitch in reading counter config