fix error when opening preference window
change default option for automatic renaming