Change default type to index