yay threads finally fixed