Fix exception and update revision number.