fix unknown bug
Using outer element for testing
Merge pull request #2580 from kentaromiura/fix-unknown-error

fix unknown bug