add forgotten `m` argument to closure constructors