fix last choice and add xsd from last text