changing autowired for inject