Fixed a bug in which the `text` property could not be a number