linked map from index, cleanup