editor IE7 bug fix