there might be a bug(last map may skip some bytes), add some extra log, not fixed yet