Fix processor counter problem