thread count fixes