fix a autowire mistake