small change to closure apply