fixed toc error
fixed pipe problem