fixed bool pointer