Process counter fix