replace memset with string-list initializers