Fixing text colour bug