changed 0/1 to false/true(boolean) in file user/preferences.cpp