Fix Preview bug