fix labels in flows in render.py