Fix issue where text isnt defined

Lazy.