fix z location