fix killFlow