managing iframe redirect