Fix Resolver contract check