fix getVaultAlgorithm