add support for legacy ie