fix: can't make assumptions about parent element