fix wrong package load order