made vault optional