attempt to fix thread