fix thread start