refactoring: typo, imports, stringutils