[Refactoring] Make sur ethat text is initialized to null