fixed scale bug'