fixed an error in ie8