fix night mode