change thread lib