removed unused resolver
added const