fix counter to new max