- added routing to index if error occures