fix(version): reset z if y is reset to 0