fix #1126 Datamodel change for rangevalues

close #1136