XML res and movement fixed