Fix simplemath for strings