add preview
bugfix