fixing daemon for --color-mode=mixed