maybe this fixes byte ranges of 0