workaround issue with endStream