diff --git a/java/src/com/android/inputmethod/latin/makedict/Ver4DictDecoder.java b/java/src/com/android/inputmethod/latin/makedict/Ver4DictDecoder.java
index f23022992456e3d24e5505d53bfc1dab34583fbb..e459e4861576298def9cc2e40aac1b070300400c 100644
--- a/java/src/com/android/inputmethod/latin/makedict/Ver4DictDecoder.java
+++ b/java/src/com/android/inputmethod/latin/makedict/Ver4DictDecoder.java
@@ -215,11 +215,12 @@ public class Ver4DictDecoder extends AbstractDictDecoder {
 
                                 if (options.mHasTimestamp) {
                                     probability = buffer.readUnsignedByte();
-                                    final int pos = buffer.position();
-                                    // Skip historical info.
-                                    buffer.position(pos + FormatSpec.BIGRAM_TIMESTAMP_SIZE
-                                            + FormatSpec.BIGRAM_LEVEL_SIZE
-                                            + FormatSpec.BIGRAM_COUNTER_SIZE);
+                                    // Skip timestamp
+                                    buffer.readInt();
+                                    // Skip level
+                                    buffer.readUnsignedByte();
+                                    // Skip count
+                                    buffer.readUnsignedByte();
                                 } else {
                                     probability = bigramFlags
                                             & FormatSpec.FLAG_BIGRAM_SHORTCUT_ATTR_FREQUENCY;