fix counter, ready to commit