Flow correction