fixed invalid content-length for glacier streams