fixed vault and history on Windows