Fix bool issue