fix this.el.innerText is undefined (error occurred only in firefox)