fixing toc for qig