set the worker threads to 2
set the worker threads to 2 and some small fixes