KCINFR-979: fixing autowiring