fix unicode in  flow.py