fixes markdown toc problems