fixing demo error print.