Fix z-related bug