bugfix in @getParents()