BUGFIX: forgot to initialize two variables in preferences.php