refactor for simplification of findConfig
1.0.2