add error handling to getChildViewsAsArray