modify expander for editor