restored counter to prev working condition