Th variable is not a bool so don't set to true/false.