removed foreach for ie