Fix exception when vender return null contents