fixed bool to boolean