fix inject dependency