tiny flow cleanup