fix for IE7/8