fixed flow pause on error