fixed bool return being inverse