make the mupa parser more robust