errors in xml and global.php