updated error in index file