Fix to colour_index