Trailing spaces after flow collection