fix logger setting background color to foreground color