Revert "fixing indexing"

This reverts commit 320c87b940d57475bc9f7583aef2b98dadbcad74.