fixed the error described in https://github.com/fourkitchens/czdap-tools/issues/7