remove the revision from images