remove duplicated line in core.js