fixed a bug in IE7