fixed query for list items