fix bug in page range stream