Fix list view not working properly