hotfix for getParent