corrected the text desappearing issue