Fixed class Thread