fix error in core-index