fixed mistake of  call xml methods