Fix broken autoscaling