avoid ApplicationConfiguration it has too many dependencies