check control flags instead of input flags for flow control