changes 404 to index