fix auto dim with 2 hours/levels