fix processing nsxml; del space; sync config