setting correct url for iframe