Fixed typo in core.lua