fixed auto scaling