fixed warning when settings are reset