fixed closure reference to parent obj