working filters and edit page