[fix] crashes in settings