fix a bug about invalid read(overshoot 4 byteswq)