fix light level on switch