fixed a crash case if core object is a NODE module.