remove unuse toc code, midify width and height