added deactivate if ceiling > floor in peakshaver