prevent npes and data loss from missing vault