fix bug related to wrong units in prefs