fixing read counter behavior