fixed index key of collections built by attribute type factory.