fixed IE looping differences