fix for end stream