some adjustments to scaling