Silly typo corrected
ioc indexing bug fixed