making sure el is attached to the parent