read counting was wrong from the very start