remove dead code for list view