fixed bug in iframe layout