modify struct string type