added support for old ie