fixed movpath xml load, bugs #730034, #730239 and gcc warnings