dot-cstr_repair_attributes function

Repair attributes after idiomatic construction