trying to fix bool * error