fixed bool convertsion