src: supress warning
src: only go back from share/remove all not marked
src/xml: fixed various bugs