make flow data consistent