switch from autowiring to xml wiring