Did not correctly find output address

Logical error in closure