index — removing weird wrapper on error