bug fix for autoscaling termination
2 files changed