change master detection