fixed filtering by appendix