fix missing pref issue.
Merge pull request #8 from nhirata/OTA_update_fix

fix missing pref issue.