fix problem in changing text color