proper string handling