fix bug of supervisor