fix muxmode flag detection.