closed #25. gn:index, gn:filter required some changes