fix "Compile" errors on IE7