fixed deprecated Core.instance calls