fix flow running