fixing bool operator