changed headerSep argument