added guard to protect against external child access
Merge pull request #1129 from ZappoMan/bugfixes

added guard to protect against external child access