fix thread lock