make resolver instanciation clearer