Fixes for 3d chapter