fix handling of existing previews