counter fix