hack to handle bugs in AddInjections