fixed vaultkind to save in the database