fixed how redisplay worked