fixed error in populating listview