fix: report error for setting attributes of parts of objects