corrects text visibility