fix for iframe insertion