fixed typo that broke z-values