fix issue with discretbar + add new example to demoall