bug fix
[bug fix] a bug that relates to multi threading was fixed