ie loop fix