correction on dependency injection extension