some fix for flow example