a few changes to NCA XML stuff