fix minor bug in demo/width0