small xml fixes
removed print from code