commit before cdata changes