remove variables owned by outlined code from the parent