fixing parent/child dependency reference