fix Settings crash on boot