cleanup of string