fixed broken zindex trigger