fixed head in core.js