add compatibility for graybox colour change