after resolving autowire issues