Fixed the preview stuff.