fix z option