diff --git a/java/src/com/android/inputmethod/latin/personalization/DynamicPredictionDictionaryBase.java b/java/src/com/android/inputmethod/latin/personalization/DynamicPredictionDictionaryBase.java
index be3a9f2f121d1fd9f44856335a3d581bade0fbe8..a08145b33d36174e53eb3794ef804f03cce768a6 100644
--- a/java/src/com/android/inputmethod/latin/personalization/DynamicPredictionDictionaryBase.java
+++ b/java/src/com/android/inputmethod/latin/personalization/DynamicPredictionDictionaryBase.java
@@ -63,7 +63,7 @@ public abstract class DynamicPredictionDictionaryBase extends ExpandableBinaryDi
 
     /* package */ DynamicPredictionDictionaryBase(final Context context, final String locale,
             final SharedPreferences sp, final String dictionaryType, final String fileName) {
-        super(context, locale, dictionaryType, true);
+        super(context, fileName, dictionaryType, true);
         mLocale = locale;
         mFileName = fileName;
         mPrefs = sp;