this looks like `ctx,config` may cause an AttributeError, you are sure this is no longer the case?