changes the scalingtype