fix duplicate revision