debugging flow deviation