fixed init of settings