fix HttpScanner read method