correct axes for depth averaging