fixing list view and templates