fixed bug in demo UI