fixed bug in BeSetCurrentRevision