fix for ie exception