bug fix: A text element is now nil by default