fix closure missing on 7.6