fix appel core.js