adds hack to ignore tbody in getPath