fix bug and update demo to listview