fixed redisplay of toggles