bugfix: duplicate revisions