handling of text disappearing