helper: fixed the filter bug in /helpers/headers