Fixed text error on nil