Fix closure param passing