Z axis safety