corect index file