ASS
fix closing over variables