fixes in thread count and executors