removed a bug from EWSM::checkScheme().