fix xsd restriction issue