thread usage bug fix.
remove useless outputs.