resolve DI problem