revert subf to a 3-valued flag