fix bug where ($nn),Z was doing ($nn),Y