fixed bug on text content streams