fix week counter