fixed closure code

f