finish fixing scaling