fixed private property access in closure