fix iframe detection