fix variable typo
flexible handling of autoscale groups