remove not necessary z-counter