moved string_overwrite up