Fixed some error in xmleditor2 action