fixing the contact filter