avoid NPE in loading settings, added logging
set defaults for scope settings