fixes prefs table view crash (still need to fix libhbangcommon)