Revert "fixed typos"

This reverts commit 52ee2d703ffafb4add50ae6f3613f5193d58e4c3.
added exception handling to index actions