add _parent pointer to every child of modules