core.js fix