trapping keys for list filter