add NWorkerThread
fix error