fixed bug in demo: plotting