fix flow start/stop