Fixed bug with StringTools