fixed another bug in zprime