Problem with setting the flow control