commit by jayli fix demo's bug