reading toc from tocdb