change publishing check in stream_row template