fix some bugs in the outdated sample data