fixed regression in scale