fix for get xml