fix maxsdk and xml syntax