fix for ie versions greater than 9