fix postPreview