fix bug of monitor