fixed duplication of rendered code in iframe