typo fix in core