workaround implemented to avoid IE7 scope reset