fix dep injection