Fix get parent element crashing bug
Merge pull request #67 from metalabdesign/fix_get_parent_element

Fix get parent element