getting rid of ChannelPositions
flush must be called in writers