fixed the index with no parameters