Fixed proper bit stream handling.