added a generic header filter