always inject resolver into leaf
always inject resolver into leaf