Fix a bug with revision settings