Fixed when text is not set if in constructor number was passed.