Fix auto-scaling.