reverted thead_safe back as new version was pulled