fix reading of empty ranges