quickfix for closure leakage