Bugfix in create demo data.
Fix bugs with input data.