updated editor : fix bugs caused by wront structure in chrome