parent-closure fix for let