make sure the container resolves like the resolver