set revision default to 0