fixed problems with non-integer subranges