endif fix for ie