issue #2580: fixed typo and removed useless demo

issue #2580: fixed typo and removed useless demo