fixing up some cms editor's stuff