thd init
fix