Fix PreviewCommand