fixed legacy dir_colours check