Bug fix of scale