repair bug with encode header