fixed mode detection --> inverting the read value