fixed dark mode bug