data scale bugfix