fixed text colour bug