Fix for double calling in core_deps.