thread param issue fixed