fix it in getScaleById