remove expires newline