fix'ed expiration header generation