fixing color mode for ls.