enable thread plugin