add better compatilbity for older IE