removed debug counter