Fixed core_preinit