fixed random thread