thread key problem solved for ofc