fixes for publishing streams