fixed logical clause for a header