fixes iframe version race conditions