Revert "adding direct access protection"

This reverts commit a6a833bd40c3c4974af854a6ee6bcf05775a9e4d.
commenting out index