fix repro so it works irrespective of package load order