Bug fix

Indexing issue.