fix cache problem of editor