fixed dt_qthread bug