remove unneeded xml defines