some string improvements