ensure name index is always present