fixed some dimming issues