fix #18, begin previewmode