Version 5.0.9
fixed bug in findParent() method