fix for indices
Merge pull request #22 from amal-ghamdi/fix_indices_order

fix for indices