fixed signature for pwiz close method