removed sanity check that didnt account for iframes