fixed ignore function in root.js