fixed z-inex errors