fixed that refering to parent object