rename z to zz, rename zr to z