small fix aroundrevision in object