fixes to header and octtile