fixed bad counter reference