fixed redisplay.