KRACOEUS-6955 fix autowiring 

which didn't do correctly before