fix crash/stack overflow due to object dependency troubles