ns-counter dirty fix