change condition of scale down