fix preview fix #30