bug: fix thread update caused crash problem