add preview
fix preview