fix error validate bool