fix toc z order