fix int passed to PlainText without str()