Fix revision_id