fixed demo sample.