account for iframe error