scale bug fix