reset xml to DOM default, fix command pselect statement