Added 2 hacks for IE7