updated list view templates to ensure correct reference of element ID