change the bool type

Signed-off-by: yayanyang <yayanyang@gmail.com>