unify string handling