clean up (still stop to build during documentation processing)
Use internal tcl to avoid core dump.