fixed minor bugs for colourDetails