Fix bug in fill_attributes.