Fix master_thr