fixed bitstream fetching