enhancement maineditor
and other view