fix for stream publication