Changed Indexes for MultiIndexes
Correction of some bugs