fix broken content in editor