Fix editor(my IntelliJ IDEA) preview bug