added alert when settings empty